#include "Date.h"
#include <iostream>
int main() {
  sladhu::Date date1,date2;
  date1.set_year(1901);
  date1.set_month(1);
  date1.set_day(1);

  date2.set_year(2000);
  date2.set_month(12);
  date2.set_day(31);
  int count = 0;
  for (;date1 < date2 ;date1.NextMonth()) {
    std::cout << date1 << "week:" << date1.week() << std::endl;
    if (0 == date1.week()) ++count;
  }
  std::cout << count;
  return 0;
}
